# 输出一个三行四列的长方形
# 思路：外层代表行，内层代表列

# for i in range(1, 4):
#     for j in range(1, 5):
#         print("*", end="\t")
#     print()

# 5排，6个星星

# for i in range(1, 6):
#     for j in range(1, 7):
#         print("*", end="\t")
#     print()

# for i in range(1, 10):
#     for j in range(1, i + 1):
#         print("*", end="\t")
#     print()


# 6排星星，第几排就几颗星
# for i in range(1, 7):
#     for j in range(1, i + 1):
#         print("*", end="\t")
#     print()


# 输出九九乘法表
# for i in range(1, 10):
#     for j in range(1, i + 1):
#         # print("*", end="\t")
#         print(f"{i}*{j}={i * j}", end="\t")
#     print()

# for i in range(1, 10):
#     for j in range(1, i + 1):
#         # print("*", end="\t")
#         print(f"{j}*{i}={i * j}", end="\t")
#     print()


# for i in range(5):
#     for j in range(1, 11):
#         if j % 2 == 0:
#             break
#         print(j)
#
# print('---' * 100)
for i in range(5):
    for j in range(1, 11):
        if j % 2 == 0:
            continue
        print(j, end=' ')
    print()
for i in range(5):
    for j in range(1, 11):
        if j % 2 != 0:
            continue
        print(j, end=' ')
    print()
